import { App } from "vue";
import antiShake from "@/directives/modules/anti-shake";
import entLoading from "@/directives/modules/ent-loding";
import {vClickOutside} from "@/directives/modules/clickOutside";
import globalBtnLoading from "@/directives/modules/globalBtnLoding";
import btnPermission from "@/directives/modules/btnPermission";
const directives = {
    install(app: App<Element>) {
      app.directive("antiShake", antiShake);
      app.directive("entLoading", entLoading);
      app.directive("clickOutside", vClickOutside);
      app.directive("globalLoading", globalBtnLoading);
      app.directive("btnPermission", btnPermission);
    }
  };

export default directives